/**
 * 页面区域跳转 选择器定义js
 */
 //定义跳转 使用jquery选择器语法	此部分选择器  其中main,left,right和content在各个页面的if判断语句中重写了
_EsdDynamicTransformationScript.navBlock.selector.top="table:eq(1)";
_EsdDynamicTransformationScript.navBlock.selector.nav="table:eq(1)";
_EsdDynamicTransformationScript.navBlock.selector.footer="table:last";

 
//面包屑导航（除首页）
if( $(".CurrChnlCls").length > 0 ){
	
	//目录页的翻页input处理
	$("#num").attr("title","跳转到第多少页");
	$("#num").attr("placeholder","跳转到第多少页");
	$(".9ptb input[type='submit']").attr("title","提交");
	$(".9ptb input[type='submit']").attr("placeholder","提交");
	
	$("table:nth-child(2)").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
	_EsdDynamicTransformationScript.navBlock.selector.content="#zoom";
	
	$(".dangqian").addClass("navBlock");
	$(".dangqian2").addClass("navBlock");
	$(".dangqian").next().addClass("navBlock");
	$("body > center > table > tbody > tr > td > table:nth-child(2) > tbody > tr > td > table > tbody > tr > td > table").addClass("navBlock");
	
	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个
}



// ***************	网站首页 begin	***************	//
if(_EsdDynamicTransformationScript.isSiteIndexPage){
	
	_EsdDynamicTransformationScript.navBlock.selector.nav="table:eq(2)";
	// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
	_EsdDynamicTransformationScript.navBlock.selector.main="table:eq(6)";
	_EsdDynamicTransformationScript.navBlock.selector.left="table:eq(7)";
	_EsdDynamicTransformationScript.navBlock.selector.right="iframe:eq(0)";
	_EsdDynamicTransformationScript.navBlock.selector.content="table:eq(14)";
	
	$("body > center > table:nth-child(1) > tbody > tr > td > table:nth-child(17) > tbody > tr > td:nth-child(1) > table.\\34 kuang.navBlock").addClass("navBlock");
	$("body > center > table:nth-child(1) > tbody > tr > td > table:nth-child(17) > tbody > tr > td:nth-child(1) > table:nth-child(9)").addClass("navBlock");
	$("body > center > table:nth-child(1) > tbody > tr > td > table:nth-child(17) > tbody > tr > td:nth-child(2) > table:nth-child(1) > tbody > tr > td:nth-child(1) > table > tbody > tr > td:nth-child(1) > div").addClass("navBlock");
	$("body > center > table:nth-child(1) > tbody > tr > td > table:nth-child(17) > tbody > tr > td:nth-child(2) > table:nth-child(1) > tbody > tr > td:nth-child(1) > table > tbody > tr > td:nth-child(3)").addClass("navBlock");
	$("body > center > table:nth-child(1) > tbody > tr > td > table:nth-child(17) > tbody > tr > td:nth-child(2) > table:nth-child(1) > tbody > tr > td:nth-child(2)").addClass("navBlock");
	$("body > center > table:nth-child(1) > tbody > tr > td > table:nth-child(17) > tbody > tr > td:nth-child(2) > table:nth-child(3) > tbody > tr > td:nth-child(1) > table:nth-child(1)").addClass("navBlock");
	$("body > center > table:nth-child(1) > tbody > tr > td > table:nth-child(17) > tbody > tr > td:nth-child(2) > table:nth-child(3) > tbody > tr > td:nth-child(1) > table:nth-child(3) > tbody > tr > td:nth-child(1) > table").addClass("navBlock");
	$("body > center > table:nth-child(1) > tbody > tr > td > table:nth-child(17) > tbody > tr > td:nth-child(2) > table:nth-child(3) > tbody > tr > td:nth-child(1) > table:nth-child(3) > tbody > tr > td:nth-child(3) > table").addClass("navBlock");
	$("body > center > table:nth-child(1) > tbody > tr > td > table:nth-child(17) > tbody > tr > td:nth-child(2) > table:nth-child(3) > tbody > tr > td:nth-child(1) > table:nth-child(5) > tbody > tr > td:nth-child(1) > table").addClass("navBlock");
	$("body > center > table:nth-child(1) > tbody > tr > td > table:nth-child(17) > tbody > tr > td:nth-child(2) > table:nth-child(3) > tbody > tr > td:nth-child(1) > table:nth-child(5) > tbody > tr > td:nth-child(3) > table").addClass("navBlock");
	$("body > center > table:nth-child(1) > tbody > tr > td > table:nth-child(17) > tbody > tr > td:nth-child(2) > table:nth-child(3) > tbody > tr > td:nth-child(2) > table:nth-child(1)").addClass("navBlock");
	$("body > center > table:nth-child(1) > tbody > tr > td > table:nth-child(17) > tbody > tr > td:nth-child(2) > table:nth-child(3) > tbody > tr > td:nth-child(2) > table:nth-child(2)").addClass("navBlock");
	$("body > center > table:nth-child(1) > tbody > tr > td > table:nth-child(17) > tbody > tr > td:nth-child(2) > table:nth-child(3) > tbody > tr > td:nth-child(2) > table:nth-child(3)").addClass("navBlock");
	$("body > center > table:nth-child(1) > tbody > tr > td > table:nth-child(17) > tbody > tr > td:nth-child(2) > table:nth-child(4)").addClass("navBlock");
	
	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个

}
//***************	网站首页 end	***************	//

// ***************	二级页面之 机构职能 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://swt.jl.gov.cn/jgzn/jgzn_158767/'){

	// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
	_EsdDynamicTransformationScript.navBlock.selector.main="table:eq(3)";
	_EsdDynamicTransformationScript.navBlock.selector.left="table:eq(5)";
	_EsdDynamicTransformationScript.navBlock.selector.right="table:eq(10)";
	_EsdDynamicTransformationScript.navBlock.selector.content="table:eq(3)";
	
	$("table:eq(3)").addClass("navBlock");
	$("table:eq(5)").addClass("navBlock");
	$("table:eq(10)").addClass("navBlock");
}
// ***************	二级页面之 机构职能 end	***************	//

// ***************	二级页面之 信息公开 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://swt.jl.gov.cn/zfxxgk/'){

	// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
	_EsdDynamicTransformationScript.navBlock.selector.main="table:eq(2)";
	_EsdDynamicTransformationScript.navBlock.selector.left="table:eq(5)";
	_EsdDynamicTransformationScript.navBlock.selector.right="table:eq(5)";
	_EsdDynamicTransformationScript.navBlock.selector.content="table:eq(2)";
	
	$("table:eq(2)").addClass("navBlock");
	$("table:eq(5)").addClass("navBlock");
}
// ***************	二级页面之 信息公开 end	***************	//

// ***************	二级页面之 在线咨询 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://swt.jl.gov.cn/zxzx/yhfbd/'){

	// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
	_EsdDynamicTransformationScript.navBlock.selector.main="table:eq(2)";
	_EsdDynamicTransformationScript.navBlock.selector.left="table:eq(4)";
	_EsdDynamicTransformationScript.navBlock.selector.right="table:eq(10)";
	_EsdDynamicTransformationScript.navBlock.selector.content="table:eq(2)";
	
	$("table:eq(2)").addClass("navBlock");
	$("table:eq(4)").addClass("navBlock");
	$("table:eq(10)").addClass("navBlock");
}
// ***************	二级页面之 在线咨询 end	***************	//
